package cn.iocoder.yudao.module.hs.controller.admin.rfidchangerecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - RFID更换记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class RfidChangeRecordRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "11456")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "所在仓库", requiredMode = Schema.RequiredMode.REQUIRED, example = "24209")
    @ExcelProperty("所在仓库")
    private Long warehouseId;

    @Schema(description = "原rfid编码")
    @ExcelProperty("原rfid编码")
    private String oldRfidCode;

    @Schema(description = "新rfid编码")
    @ExcelProperty("新rfid编码")
    private String newRfidCode;

    @Schema(description = "更换原因	LOW_BATTERY: 低电量	DAMAGED：损坏", example = "不香")
    @ExcelProperty("更换原因	LOW_BATTERY: 低电量	DAMAGED：损坏")
    private String changeReason;

    @Schema(description = "更换状态：1-更换；0-待更换", example = "2")
    @ExcelProperty("更换状态：1-更换；0-待更换")
    private Integer changeStatus;

    @Schema(description = "更换时间")
    @ExcelProperty("更换时间")
    private LocalDateTime changeTime;

    @Schema(description = "更换人ID", example = "6088")
    @ExcelProperty("更换人ID")
    private Long changeUserId;

    @Schema(description = "更换人", example = "芋艿")
    @ExcelProperty("更换人")
    private String changeUserName;

    @Schema(description = "分派人ID", example = "4794")
    @ExcelProperty("分派人ID")
    private Long assignUserId;

    @Schema(description = "分派人", example = "王五")
    @ExcelProperty("分派人")
    private String assignUserName;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}